.index {
    position: relative;
    display: flex;
    flex-direction: column;
    // height: 100vh;

    p {
        padding: 0;
        margin: 0;
    }

    .bancen {
        width: 1200px;
        margin: 0 auto;
        overflow: hidden;
    }

    header {
        .header {
            display: flex;
            justify-content: space-between;
            padding: 20px;
            line-height: 50px;
            font-family: 'stxingkai';

            div:first-child {
                display: flex;
                align-items: center;
                font-size: 30px;
            }

            .personal {
                cursor: pointer;

                img {
                    border-radius: 50%;
                }
            }
        }

        .nav {
            width: 100vw;
            border-top: 1px solid #ccc;
            background-color: #fff;

            ul {
                display: flex;
                line-height: 50px;
                text-align: center;

                li {
                    cursor: pointer;
                    width: 100px;

                    a {
                        display: block;
                    }

                    .active {
                        background-color: #5874d8;
                        color: white;
                        display: block;
                    }
                }
            }
        }
    }

    .main {
        flex: 1;
        min-height: calc(100vh - 460px);
        overflow: auto;
    }

    .footer {
        background-color: #222;
        color: white;
        line-height: 30px;
        padding-top: 20px;

        .section {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;

            ul {
                li:first-child {
                    color: #5874d8;
                }

                li:not(:first-child) {
                    cursor: pointer;
                }
            }

            .word {
                font-size: 12px;

                div {
                    text-indent: -2em;
                }

                p {
                    margin-bottom: 10px;


                    textarea {
                        resize: none;
                        width: 170px;
                    }

                    button {
                        padding: 6px 82px;
                        background-color: #5874d8;
                        color: #fff;
                        border-radius: 5px;
                    }

                    button:active {
                        background-color: #778fe9;
                    }
                }

                p:last-child {
                    text-align: right;
                }
            }
        }

        .copy {
            text-align: center;
            color: #666;
        }

    }
}